from django.conf import settings
from django.conf.urls.defaults import patterns, url, include

urlpatterns = patterns('',
    # Example:
     url(r'^$', 'jiaju.web.admin.views.login', name='index'),
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_PATH}), 
    (r'^admin/', include('web.admin.urls')),
)

# json rpc settings
jsonrpc_urlpatterns = patterns('',
    #(r'^services/invite/$', 'web.services.invite_service'),
    (r'^services/admin/$', 'web.services.admin_service'),
)
